package com.bwie.service;

import com.bwie.pojo.TbType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 31803
* @description 针对表【tb_type】的数据库操作Service
* @createDate 2025-05-24 10:30:06
*/
public interface TbTypeService extends IService<TbType> {

    Result addType(TbType type);

    Result deleteTypeByid(Integer typeId);

    Result getTreeList();

    Result setTypeStatus(Integer typeId, Integer typeStatus);

    Result deleteType(Integer typeId);

    Result updataImage(MultipartFile file);

    Result updataType(TbType type);

    Result AddType(TbType type);

    Result getSelectTree();

}
